package com.zqwzd.dao;

import java.util.List;
import java.util.Map;

import com.zqwzd.entity.Discounts;

/**
 * 
 * @author BOBO
 *
 */
public interface IDiscountsDao {
	/**
	 * 添加优惠信息
	 */
	public void addDiscounts(Discounts discounts);
	
	/**
	 * 查看商户列表
	 */
	public List<Discounts> queryListDiscounts(Map<String, Object> paramsM);
	
	/**
	 * 查询商户信息
	 */
	public Discounts queryDiscounts(Map<String, String> paramsM);
	
	/**
	 * 根据条件查询商品数量
	 */
	public int queryCountByCondition(Map<String, Object> paramsM);
	
	/**
	 * 根据条件查询商品数量
	 */
	public void updateApproval(Discounts discounts);
	
	/**
	 * 删除商品信息
	 */
	public void deleteDiscounts(Map<String, Object> paramsM);
}
